package android.team.app.utility;

import android.team.app.MyApplication;
import android.util.Log;

/**
 * 
 * @author Tran Vuong Anh
 * 
 */

public class SmartLogUtility {

	// --------------Log.d--------------//
	public static void logD(String TAG, String message) {
		if (MyApplication.DEBUG_MODE) {
			Log.d(TAG, message);
		}
	}

	// --------------Log.d--------------//
	public static void logE(String TAG, String message) {
		if (MyApplication.DEBUG_MODE) {
			Log.e(TAG, message);
		}
	}

	// --------------Log.d--------------//
	public static void logW(String TAG, String message) {
		if (MyApplication.DEBUG_MODE) {
			Log.w(TAG, message);
		}
	}
}
